//
//  WidgetView.swift
//  memoWidgetExtension
//
//  Created by DaleGuo on 2023/10/11.
//

import SwiftUI

struct WidgetView: View {
    var entry: Provider.Entry
    @Environment(\.widgetFamily) var widgetFamily

    var body: some View {
        switch widgetFamily {
            
            case .systemMedium:
                MemoWidgetView_medium(entry: entry)
            case .systemLarge:
                MemoWidgetView_large(entry: entry)
            default:
                Text("No")
        }
    }
}
